<template>
	<view>
		<block v-if="url">
			<web-view :src="url"></web-view>
		</block>
		
	</view> 
</template>

<script>
	export default {
		data() {
			return {
				url:''
			}
		},
		onLoad(op) {
			if(op.url){
				this.url = decodeURIComponent(op.url) 	
			}else{
				this.url = this.$config.weburl
			}
			console.log(this.url)
		},
		onUnload(){
			this.$config.weburl = ''
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="less">
	
</style>
